<div id="cardHeader">
	<h3>TRANG CHỦ<img src="styles/images/baner-marker-active.gif" class="map"><?=$name['DM']?><img src="styles/images/baner-marker-active.gif" class="map"><?=$name['TL']?></h3>
</div>
    <div id="cardBorder">
	<div id="cardContainer">
        <?php if(!$chitiet):
                 echo '<font color="red">Chưa có dữ liệu</font>';
              else:
                foreach ($chitiet as $key => $value) {?>    
		<div class="boxCard">
			<h5><?=$value->Denomination;?></h5>
			<div class="cardImage">
				<img id="<?=$value->Id;?>" src="styles/images/<?=$value->Image;?>" alt="<?=$value->Denomination;?>" title="<?=$value->Denomination;?>">
			</div>
			<div class="cardAvailable">
				<strong>Giá gốc :</strong> ₫<?=number_format($value->OldPrice);?> VNĐ
			</div>
			<div class="cardPrice">
                            <strong>Giá bán :</strong> ₫<font color="red"><?=number_format($value->Price);?> </font>VNĐ
			</div>
			<div class="cardControl">
				<button type="button" class="btnAddToCart" onclick="addCart('<?=$value->Id;?>');"></button>&nbsp;
				<input name="txtQuantity<?=$value->Id;?>" value="1" id="quantity<?=$value->Id;?>" class="cardQuantity" type="text">
				<img src="load_files/arrowUp.png" class="btnQuantityUp" onclick="quantityUp('<?=$value->Id;?>',1);">
				<img src="load_files/arrowDown.png" class="btnQuantityDown" onclick="quantityDown('<?=$value->Id;?>',1);">
			</div>
		</div>
            <?php } endif; ?>

	</div>
    </div>                            